package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆信息对象 vehicle
 * 
 * @author ruoyi
 * @date 2022-03-20
 */
public class Vehicle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 行驶证
 */
    @Excel(name = "行驶证")
    private String drivingLicenseCard;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNumber;

    /** 最大称重 */
    @Excel(name = "最大称重")
    private String maxLoad;

    /** 挂车号 */
    @Excel(name = "挂车号")
    private String trailerCardId;

    /** 车辆所属单位 */
    @Excel(name = "车辆所属单位")
    private String carCompany;

    private String loginId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public String getDrivingLicenseCard() {
        return drivingLicenseCard;
    }

    public void setDrivingLicenseCard(String drivingLicenseCard) {
        this.drivingLicenseCard = drivingLicenseCard;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getMaxLoad() {
        return maxLoad;
    }

    public void setMaxLoad(String maxLoad) {
        this.maxLoad = maxLoad;
    }

    public String getTrailerCardId() {
        return trailerCardId;
    }

    public void setTrailerCardId(String trailerCardId) {
        this.trailerCardId = trailerCardId;
    }

    public String getCarCompany() {
        return carCompany;
    }

    public void setCarCompany(String carCompany) {
        this.carCompany = carCompany;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("drivingLicenseCard", getDrivingLicenseCard())
            .append("carNumber", getCarNumber())
            .append("maxLoad", getMaxLoad())
            .append("trailerCardId", getTrailerCardId())
            .append("carCompany", getCarCompany())
            .toString();
    }
}
